package org.hepeng.resiliencedefense;

import java.util.concurrent.Future;

/**
 * @author he peng
 */
public interface DefensiveExecEnv<R> {

    R syncExec();

    Future<R> asyncExec();

    void execClient();

    <T> T getDefensiveClient(Class<T> clientClass);
}
